<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GimpColorSelector: GIMP 3 Widgets Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GIMP 3 Widgets Library Reference Manual">
<link rel="up" href="libgimpwidgets-colorselector.html" title="Part IV. GIMP Color Selectors">
<link rel="prev" href="libgimpwidgets-colorselector.html" title="Part IV. GIMP Color Selectors">
<link rel="next" href="GimpColorNotebook.html" title="GimpColorNotebook">
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GimpColorSelector.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GimpColorSelector.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GimpColorSelector.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#GimpColorSelector.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libgimpwidgets-colorselector.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libgimpwidgets-colorselector.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GimpColorNotebook.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GimpColorSelector"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GimpColorSelector.top_of_page"></a>GimpColorSelector</span></h2>
<p>GimpColorSelector — Pluggable GIMP color selector modules.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GimpColorSelector.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-new" title="gimp_color_selector_new ()">gimp_color_selector_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-set-toggles-visible" title="gimp_color_selector_set_toggles_visible ()">gimp_color_selector_set_toggles_visible</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-get-toggles-visible" title="gimp_color_selector_get_toggles_visible ()">gimp_color_selector_get_toggles_visible</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-set-toggles-sensitive" title="gimp_color_selector_set_toggles_sensitive ()">gimp_color_selector_set_toggles_sensitive</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-get-toggles-sensitive" title="gimp_color_selector_get_toggles_sensitive ()">gimp_color_selector_get_toggles_sensitive</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-set-show-alpha" title="gimp_color_selector_set_show_alpha ()">gimp_color_selector_set_show_alpha</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-get-show-alpha" title="gimp_color_selector_get_show_alpha ()">gimp_color_selector_get_show_alpha</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-set-color" title="gimp_color_selector_set_color ()">gimp_color_selector_set_color</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-get-color" title="gimp_color_selector_get_color ()">gimp_color_selector_get_color</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-set-channel" title="gimp_color_selector_set_channel ()">gimp_color_selector_set_channel</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel"><span class="returnvalue">GimpColorSelectorChannel</span></a>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-get-channel" title="gimp_color_selector_get_channel ()">gimp_color_selector_get_channel</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-set-model-visible" title="gimp_color_selector_set_model_visible ()">gimp_color_selector_set_model_visible</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-get-model-visible" title="gimp_color_selector_get_model_visible ()">gimp_color_selector_get_model_visible</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-emit-channel-changed" title="gimp_color_selector_emit_channel_changed ()">gimp_color_selector_emit_channel_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-emit-color-changed" title="gimp_color_selector_emit_color_changed ()">gimp_color_selector_emit_color_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-emit-model-visible-changed" title="gimp_color_selector_emit_model_visible_changed ()">gimp_color_selector_emit_model_visible_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GimpColorSelector.html#gimp-color-selector-set-config" title="gimp_color_selector_set_config ()">gimp_color_selector_set_config</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GimpColorSelector.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signal_proto_type">
<col width="300px" class="signal_proto_name">
<col width="200px" class="signal_proto_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GimpColorSelector.html#GimpColorSelector-channel-changed" title="The “channel-changed” signal">channel-changed</a></td>
<td class="signal_flags">Run First</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GimpColorSelector.html#GimpColorSelector-color-changed" title="The “color-changed” signal">color-changed</a></td>
<td class="signal_flags">Run First</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GimpColorSelector.html#GimpColorSelector-model-visible-changed" title="The “model-visible-changed” signal">model-visible-changed</a></td>
<td class="signal_flags">Run First</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GimpColorSelector.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GimpColorSelector.html#GimpColorSelector-struct" title="GimpColorSelector">GimpColorSelector</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GimpColorSelector.html#GIMP-COLOR-SELECTOR-SIZE:CAPS" title="GIMP_COLOR_SELECTOR_SIZE">GIMP_COLOR_SELECTOR_SIZE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="GimpColorSelector.html#GIMP-COLOR-SELECTOR-BAR-SIZE:CAPS" title="GIMP_COLOR_SELECTOR_BAR_SIZE">GIMP_COLOR_SELECTOR_BAR_SIZE</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GimpColorSelector.html#GimpColorSelectorModel" title="enum GimpColorSelectorModel">GimpColorSelectorModel</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GimpColorSelector.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> GInitiallyUnowned
        <span class="lineart">╰──</span> <a href="https://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-struct">GtkWidget</a>
            <span class="lineart">╰──</span> <a href="https://developer.gnome.org/gtk3/GtkContainer.html#GtkContainer-struct">GtkContainer</a>
                <span class="lineart">╰──</span> <a href="https://developer.gnome.org/gtk3/GtkBox.html#GtkBox-struct">GtkBox</a>
                    <span class="lineart">╰──</span> GimpColorSelector
                        <span class="lineart">├──</span> <a class="link" href="GimpColorNotebook.html" title="GimpColorNotebook">GimpColorNotebook</a>
                        <span class="lineart">├──</span> <a class="link" href="GimpColorScales.html" title="GimpColorScales">GimpColorScales</a>
                        <span class="lineart">╰──</span> <a class="link" href="GimpColorSelect.html" title="GimpColorSelect">GimpColorSelect</a>
</pre>
</div>
<div class="refsect1">
<a name="GimpColorSelector.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GimpColorSelector implements
 AtkImplementorIface,  <a href="https://developer.gnome.org/gtk3/GtkBuildable.html#GtkBuildable-struct">GtkBuildable</a> and  <a href="https://developer.gnome.org/gtk3/gtk3-Orientable.html#GtkOrientable-struct">GtkOrientable</a>.</p>
</div>
<div class="refsect1">
<a name="GimpColorSelector.description"></a><h2>Description</h2>
<p>Functions and definitions for creating pluggable GIMP color
selector modules.</p>
</div>
<div class="refsect1">
<a name="GimpColorSelector.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gimp-color-selector-new"></a><h3>gimp_color_selector_new ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
gimp_color_selector_new (<em class="parameter"><code><span class="type">GType</span> selector_type</code></em>,
                         <em class="parameter"><code>const <a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>,
                         <em class="parameter"><code>const <a href="../html/libgimpcolor3-GimpHSV.html#GimpHSV"><span class="type">GimpHSV</span></a> *hsv</code></em>,
                         <em class="parameter"><code><a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel"><span class="type">GimpColorSelectorChannel</span></a> channel</code></em>);</pre>
<p>Creates a new <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget of type <em class="parameter"><code>selector_type</code></em>
.</p>
<p>Note that this is mostly internal API to be used by other widgets.</p>
<p>Please use <a class="link" href="GimpColorSelection.html#gimp-color-selection-new" title="gimp_color_selection_new ()"><code class="function">gimp_color_selection_new()</code></a> for the "GIMP-typical" color
selection widget. Also see <a class="link" href="GimpColorButton.html#gimp-color-button-new" title="gimp_color_button_new ()"><code class="function">gimp_color_button_new()</code></a>.</p>
<p>Retunn value: the new <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p>
<div class="refsect3">
<a name="gimp-color-selector-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector_type</p></td>
<td class="parameter_description"><p>The <span class="type">GType</span> of the selector to create.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>rgb</p></td>
<td class="parameter_description"><p>The initial color to be edited.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hsv</p></td>
<td class="parameter_description"><p>The same color in HSV.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>channel</p></td>
<td class="parameter_description"><p>The selector's initial channel.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-set-toggles-visible"></a><h3>gimp_color_selector_set_toggles_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_set_toggles_visible
                               (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                                <em class="parameter"><code><span class="type">gboolean</span> visible</code></em>);</pre>
<p>Sets the <em class="parameter"><code>visible</code></em>
 property of the <em class="parameter"><code>selector</code></em>
's toggles.</p>
<p>This function has no effect if this <em class="parameter"><code>selector</code></em>
 instance has no
toggles to switch channels.</p>
<div class="refsect3">
<a name="gimp-color-selector-set-toggles-visible.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>visible</p></td>
<td class="parameter_description"><p>The new <em class="parameter"><code>visible</code></em>
setting.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-get-toggles-visible"></a><h3>gimp_color_selector_get_toggles_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_color_selector_get_toggles_visible
                               (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>);</pre>
<p>Returns the <em class="parameter"><code>visible</code></em>
 property of the <em class="parameter"><code>selector</code></em>
's toggles.</p>
<div class="refsect3">
<a name="gimp-color-selector-get-toggles-visible.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-color-selector-get-toggles-visible.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>'s toggles are visible.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-set-toggles-sensitive"></a><h3>gimp_color_selector_set_toggles_sensitive ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_set_toggles_sensitive
                               (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                                <em class="parameter"><code><span class="type">gboolean</span> sensitive</code></em>);</pre>
<p>Sets the <em class="parameter"><code>sensitive</code></em>
 property of the <em class="parameter"><code>selector</code></em>
's toggles.</p>
<p>This function has no effect if this <em class="parameter"><code>selector</code></em>
 instance has no
toggles to switch channels.</p>
<div class="refsect3">
<a name="gimp-color-selector-set-toggles-sensitive.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sensitive</p></td>
<td class="parameter_description"><p>The new <em class="parameter"><code>sensitive</code></em>
setting.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-get-toggles-sensitive"></a><h3>gimp_color_selector_get_toggles_sensitive ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_color_selector_get_toggles_sensitive
                               (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>);</pre>
<p>Returns the <em class="parameter"><code>sensitive</code></em>
 property of the <em class="parameter"><code>selector</code></em>
's toggles.</p>
<div class="refsect3">
<a name="gimp-color-selector-get-toggles-sensitive.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-color-selector-get-toggles-sensitive.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>'s toggles are sensitive.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-set-show-alpha"></a><h3>gimp_color_selector_set_show_alpha ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_set_show_alpha (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                                    <em class="parameter"><code><span class="type">gboolean</span> show_alpha</code></em>);</pre>
<p>Sets the <em class="parameter"><code>show_alpha</code></em>
 property of the <em class="parameter"><code>selector</code></em>
 widget.</p>
<div class="refsect3">
<a name="gimp-color-selector-set-show-alpha.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>show_alpha</p></td>
<td class="parameter_description"><p>The new <em class="parameter"><code>show_alpha</code></em>
setting.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-get-show-alpha"></a><h3>gimp_color_selector_get_show_alpha ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_color_selector_get_show_alpha (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>);</pre>
<p>Returns the <em class="parameter"><code>selector</code></em>
's <em class="parameter"><code>show_alpha</code></em>
 property.</p>
<div class="refsect3">
<a name="gimp-color-selector-get-show-alpha.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-color-selector-get-show-alpha.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> has alpha controls.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-set-color"></a><h3>gimp_color_selector_set_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_set_color (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                               <em class="parameter"><code>const <a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>,
                               <em class="parameter"><code>const <a href="../html/libgimpcolor3-GimpHSV.html#GimpHSV"><span class="type">GimpHSV</span></a> *hsv</code></em>);</pre>
<p>Sets the color shown in the <em class="parameter"><code>selector</code></em>
 widget.</p>
<div class="refsect3">
<a name="gimp-color-selector-set-color.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>rgb</p></td>
<td class="parameter_description"><p>The new color.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hsv</p></td>
<td class="parameter_description"><p>The same color in HSV.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-get-color"></a><h3>gimp_color_selector_get_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_get_color (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                               <em class="parameter"><code><a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a> *rgb</code></em>,
                               <em class="parameter"><code><a href="../html/libgimpcolor3-GimpHSV.html#GimpHSV"><span class="type">GimpHSV</span></a> *hsv</code></em>);</pre>
<p>Retrieves the color shown in the <em class="parameter"><code>selector</code></em>
 widget.</p>
<div class="refsect3">
<a name="gimp-color-selector-get-color.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>rgb</p></td>
<td class="parameter_description"><p>Return location for the color. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>hsv</p></td>
<td class="parameter_description"><p>Return location for the same same
color in HSV. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-set-channel"></a><h3>gimp_color_selector_set_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_set_channel (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                                 <em class="parameter"><code><a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel"><span class="type">GimpColorSelectorChannel</span></a> channel</code></em>);</pre>
<p>Sets the <em class="parameter"><code>channel</code></em>
 property of the <em class="parameter"><code>selector</code></em>
 widget.</p>
<p>Changes between displayed channels if this <em class="parameter"><code>selector</code></em>
 instance has
the ability to show different channels.
This will also update the color model if needed.</p>
<div class="refsect3">
<a name="gimp-color-selector-set-channel.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>channel</p></td>
<td class="parameter_description"><p>The new <em class="parameter"><code>channel</code></em>
setting.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-get-channel"></a><h3>gimp_color_selector_get_channel ()</h3>
<pre class="programlisting"><a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel"><span class="returnvalue">GimpColorSelectorChannel</span></a>
gimp_color_selector_get_channel (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>);</pre>
<p>Returns the <em class="parameter"><code>selector</code></em>
's current channel.</p>
<div class="refsect3">
<a name="gimp-color-selector-get-channel.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-color-selector-get-channel.returns"></a><h4>Returns</h4>
<p> The <a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel"><span class="type">GimpColorSelectorChannel</span></a> currently shown by the
<em class="parameter"><code>selector</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-set-model-visible"></a><h3>gimp_color_selector_set_model_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_set_model_visible (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                                       <em class="parameter"><code><a class="link" href="GimpColorSelector.html#GimpColorSelectorModel" title="enum GimpColorSelectorModel"><span class="type">GimpColorSelectorModel</span></a> model</code></em>,
                                       <em class="parameter"><code><span class="type">gboolean</span> visible</code></em>);</pre>
<p>Sets the <em class="parameter"><code>model</code></em>
 visible/invisible on the <em class="parameter"><code>selector</code></em>
 widget.</p>
<p>Toggles visibility of displayed models if this <em class="parameter"><code>selector</code></em>
 instance
has the ability to show different color models.</p>
<div class="refsect3">
<a name="gimp-color-selector-set-model-visible.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>The affected <a class="link" href="GimpColorSelector.html#GimpColorSelectorModel" title="enum GimpColorSelectorModel"><span class="type">GimpColorSelectorModel</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>visible</p></td>
<td class="parameter_description"><p>The new visible setting.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-get-model-visible"></a><h3>gimp_color_selector_get_model_visible ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gimp_color_selector_get_model_visible (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                                       <em class="parameter"><code><a class="link" href="GimpColorSelector.html#GimpColorSelectorModel" title="enum GimpColorSelectorModel"><span class="type">GimpColorSelectorModel</span></a> model</code></em>);</pre>
<div class="refsect3">
<a name="gimp-color-selector-get-model-visible.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>The <a class="link" href="GimpColorSelector.html#GimpColorSelectorModel" title="enum GimpColorSelectorModel"><span class="type">GimpColorSelectorModel</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gimp-color-selector-get-model-visible.returns"></a><h4>Returns</h4>
<p> whether <em class="parameter"><code>model</code></em>
is visible in <em class="parameter"><code>selector</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-emit-channel-changed"></a><h3>gimp_color_selector_emit_channel_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_emit_channel_changed
                               (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>);</pre>
<p>Emits the "channel-changed" signal.</p>
<div class="refsect3">
<a name="gimp-color-selector-emit-channel-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-emit-color-changed"></a><h3>gimp_color_selector_emit_color_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_emit_color_changed
                               (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>);</pre>
<p>Emits the "color-changed" signal.</p>
<div class="refsect3">
<a name="gimp-color-selector-emit-color-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-emit-model-visible-changed"></a><h3>gimp_color_selector_emit_model_visible_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_emit_model_visible_changed
                               (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                                <em class="parameter"><code><a class="link" href="GimpColorSelector.html#GimpColorSelectorModel" title="enum GimpColorSelectorModel"><span class="type">GimpColorSelectorModel</span></a> model</code></em>);</pre>
<p>Emits the "model-visible-changed" signal.</p>
<div class="refsect3">
<a name="gimp-color-selector-emit-model-visible-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>A <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>The <a class="link" href="GimpColorSelector.html#GimpColorSelectorModel" title="enum GimpColorSelectorModel"><span class="type">GimpColorSelectorModel</span></a> where visibility changed.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gimp-color-selector-set-config"></a><h3>gimp_color_selector_set_config ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gimp_color_selector_set_config (<em class="parameter"><code><a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *selector</code></em>,
                                <em class="parameter"><code><a href="../html/GimpColorConfig.html#GimpColorConfig-struct"><span class="type">GimpColorConfig</span></a> *config</code></em>);</pre>
<p>Sets the color management configuration to use with this color selector.</p>
<div class="refsect3">
<a name="gimp-color-selector-set-config.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>selector</p></td>
<td class="parameter_description"><p>a <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widget.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>a <a href="../html/GimpColorConfig.html#GimpColorConfig-struct"><span class="type">GimpColorConfig</span></a> object.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
</div>
</div>
<div class="refsect1">
<a name="GimpColorSelector.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GimpColorSelector-struct"></a><h3>GimpColorSelector</h3>
<pre class="programlisting">typedef struct _GimpColorSelector GimpColorSelector;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-COLOR-SELECTOR-SIZE:CAPS"></a><h3>GIMP_COLOR_SELECTOR_SIZE</h3>
<pre class="programlisting">#define GIMP_COLOR_SELECTOR_SIZE     150
</pre>
<p>The suggested size for a color area in a <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>
implementation.</p>
</div>
<hr>
<div class="refsect2">
<a name="GIMP-COLOR-SELECTOR-BAR-SIZE:CAPS"></a><h3>GIMP_COLOR_SELECTOR_BAR_SIZE</h3>
<pre class="programlisting">#define GIMP_COLOR_SELECTOR_BAR_SIZE 15
</pre>
<p>The suggested width for a color bar in a <a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>
implementation.</p>
</div>
<hr>
<div class="refsect2">
<a name="GimpColorSelectorChannel"></a><h3>enum GimpColorSelectorChannel</h3>
<p>An enum to specify the types of color channels edited in
<a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widgets.</p>
<div class="refsect3">
<a name="GimpColorSelectorChannel.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-HUE:CAPS"></a>GIMP_COLOR_SELECTOR_HUE</p></td>
<td class="enum_member_description">
<p>the hue channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-SATURATION:CAPS"></a>GIMP_COLOR_SELECTOR_SATURATION</p></td>
<td class="enum_member_description">
<p>the saturation channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-VALUE:CAPS"></a>GIMP_COLOR_SELECTOR_VALUE</p></td>
<td class="enum_member_description">
<p>the value channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-RED:CAPS"></a>GIMP_COLOR_SELECTOR_RED</p></td>
<td class="enum_member_description">
<p>the red channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-GREEN:CAPS"></a>GIMP_COLOR_SELECTOR_GREEN</p></td>
<td class="enum_member_description">
<p>the green channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-BLUE:CAPS"></a>GIMP_COLOR_SELECTOR_BLUE</p></td>
<td class="enum_member_description">
<p>the blue channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-ALPHA:CAPS"></a>GIMP_COLOR_SELECTOR_ALPHA</p></td>
<td class="enum_member_description">
<p>the alpha channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-LCH-LIGHTNESS:CAPS"></a>GIMP_COLOR_SELECTOR_LCH_LIGHTNESS</p></td>
<td class="enum_member_description">
<p>the lightness channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-LCH-CHROMA:CAPS"></a>GIMP_COLOR_SELECTOR_LCH_CHROMA</p></td>
<td class="enum_member_description">
<p>the chroma channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-LCH-HUE:CAPS"></a>GIMP_COLOR_SELECTOR_LCH_HUE</p></td>
<td class="enum_member_description">
<p>the hue channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GimpColorSelectorModel"></a><h3>enum GimpColorSelectorModel</h3>
<p>An enum to specify the types of color spaces edited in
<a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> widgets.</p>
<div class="refsect3">
<a name="GimpColorSelectorModel.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-MODEL-RGB:CAPS"></a>GIMP_COLOR_SELECTOR_MODEL_RGB</p></td>
<td class="enum_member_description">
<p>RGB color model</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-MODEL-LCH:CAPS"></a>GIMP_COLOR_SELECTOR_MODEL_LCH</p></td>
<td class="enum_member_description">
<p>CIE LCh color model</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GIMP-COLOR-SELECTOR-MODEL-HSV:CAPS"></a>GIMP_COLOR_SELECTOR_MODEL_HSV</p></td>
<td class="enum_member_description">
<p>HSV color model</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
</div>
</div>
<div class="refsect1">
<a name="GimpColorSelector.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GimpColorSelector-channel-changed"></a><h3>The <code class="literal">“channel-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>       *gimpcolorselector,
               <a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel"><span class="type">GimpColorSelectorChannel</span></a> arg1,
               <span class="type">gpointer</span>                 user_data)</pre>
<p>Flags: Run First</p>
</div>
<hr>
<div class="refsect2">
<a name="GimpColorSelector-color-changed"></a><h3>The <code class="literal">“color-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a> *gimpcolorselector,
               <a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a>           *arg1,
               <a href="../html/libgimpcolor3-GimpRGB.html#GimpRGB"><span class="type">GimpRGB</span></a>           *arg2,
               <span class="type">gpointer</span>           user_data)</pre>
<p>Flags: Run First</p>
</div>
<hr>
<div class="refsect2">
<a name="GimpColorSelector-model-visible-changed"></a><h3>The <code class="literal">“model-visible-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GimpColorSelector.html" title="GimpColorSelector"><span class="type">GimpColorSelector</span></a>     *gimpcolorselector,
               <a class="link" href="GimpColorSelector.html#GimpColorSelectorModel" title="enum GimpColorSelectorModel"><span class="type">GimpColorSelectorModel</span></a> arg1,
               <span class="type">gboolean</span>               arg2,
               <span class="type">gpointer</span>               user_data)</pre>
<p>Flags: Run First</p>
</div>
</div>
<div class="refsect1">
<a name="GimpColorSelector.see-also"></a><h2>See Also</h2>
<p><span class="type">GModule</span>, <span class="type">GTypeModule</span>, <a href="/local/head/share/gtk-doc/html/libgimpmodule/GimpModule.html#GimpModule-struct"><span class="type">GimpModule</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.0</div>
</body>
</html>